import java.util.Scanner;
public class BC20 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int b = in.nextInt();
        int a1=0;
        int a2=0;
        int b1=0;
        int b2=0;
        int sum1=0;
        int sum2=0;
        if(a+b >= 100 && a<=100 && b<=100 && a>=0 && b>=0){
            a1 = a%10;
            a2 = a/10;
            b1 = b%10;
            b2 = b/10;
            sum1=a1+b1;
            sum2=a2+b2-10;
            System.out.print(sum2);
            System.out.print(sum1);
        }
        
    }
}